package pojo;




/**
 * MedicalAdvice entity. @author MyEclipse Persistence Tools
 */

public class MedicalAdvice  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Registry registry;
     private Integer userId;
     private String chiefComplaint;
     private String diagnosis;


    // Constructors

    /** default constructor */
    public MedicalAdvice() {
    }

    
    /** full constructor */
    public MedicalAdvice(Registry registry, Integer userId, String chiefComplaint, String diagnosis) {
        this.registry = registry;
        this.userId = userId;
        this.chiefComplaint = chiefComplaint;
        this.diagnosis = diagnosis;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Registry getRegistry() {
        return this.registry;
    }
    
    public void setRegistry(Registry registry) {
        this.registry = registry;
    }

    public Integer getUserId() {
        return this.userId;
    }
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getChiefComplaint() {
        return this.chiefComplaint;
    }
    
    public void setChiefComplaint(String chiefComplaint) {
        this.chiefComplaint = chiefComplaint;
    }

    public String getDiagnosis() {
        return this.diagnosis;
    }
    
    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }
   








}